﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IPCByMessages
{
    static class IPCUtils
    {
        /// <summary>
        /// Write message to debug stream and append current
        /// time in format mm_ss_ffffff
        /// </summary>
        /// <param name="message">Message to write</param>
        public static void DebugMessageWithTime(string message)
        {
            System.Diagnostics.Debug.WriteLine(message + " "
                + DateTime.Now.ToString("mm_ss_ffffff"));
        }
    }
}
